package xyz.jangle.design.template;
/**
 * 抽象模板
 * @author Administrator
 *
 */
public abstract class AbstractTemplate {
	
	/**
	 * 模板方法
	 */
	public void templateMethod() {
		primitiveOperation1();
		primitiveOperation2();
	}
	
	public abstract void primitiveOperation1();
	
	public abstract void primitiveOperation2();

}
